<div class='menu-header'>权限系统</div>

<ul>
    {if !empty($_W['accounttotal'])}
    {ifp 'perm.role'}<li {if $_W['action']=='perm.role'}class="active"{/if}><a href="{php echo merchUrl('perm/role')}">角色</a></li>{/if}
    {ifp 'perm.user'}<li {if $_W['action']=='perm.user'}class="active"{/if}><a href="{php echo merchUrl('perm/user')}">操作员</a></li>{/if}
    {/if}
    {ifp 'perm.log'}<li {if $_W['action']=='perm.log'}class="active"{/if}><a href="{php echo merchUrl('perm/log')}">操作日志</a></li>{/if}

</ul>
 